package cn.edu.nju.askme.dao.impl;

import java.util.List;

import cn.edu.nju.askme.model.Question;

public interface IQuestionDAO {

	void save(Question transientInstance);

	void delete(Question persistentInstance);

	Question findById(java.lang.Integer id);

	List<Question> findByExample(Question instance);

	List findByProperty(String propertyName, Object value);

	List<Question> findByTitle(Object title);

	List findAll();

	Question merge(Question detachedInstance);

	void attachDirty(Question instance);

	void attachClean(Question instance);

}